#include <stdio.h>
#include <string.h>

struct student{
	char time[10];
	char name[10];
	int age;
	char major[10];
	char id[10];
};

int main(){
	struct student a={"12:30:05","王玉帆",16,"信息 2201","220410218"};
	
	printf("输入time/student\n");
	
	int x;
	for(x=0;x<2;x++){
		
	char b[10];
	scanf("%s",b);
	
	if(strcmp(b,"time")==0){
		printf("%s\n",a.time);
	}
		else if(strcmp(b,"student")==0){
			printf("%s,%d,%s,%s\n",a.name,a.age,a.major,a.id);
		}
	}
	
	return 0;
}
